package com.fick.hibernate.model;

import java.util.Set;

/**
 * Voteinfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Voteinfo implements java.io.Serializable {

	// Fields

	private Integer voteinfoId;

	private Vote vote;

	private String voteinfoName;

	private Integer voteinfoClickNum;
	
	private Set voteinfoIps;

	// Constructors

	/** default constructor */
	public Voteinfo() {
	}

	/** full constructor */
	public Voteinfo(Vote vote, String voteinfoName, Integer voteinfoClickNum) {
		this.vote = vote;
		this.voteinfoName = voteinfoName;
		this.voteinfoClickNum = voteinfoClickNum;
	}

	// Property accessors

	public Integer getVoteinfoId() {
		return this.voteinfoId;
	}

	public void setVoteinfoId(Integer voteinfoId) {
		this.voteinfoId = voteinfoId;
	}

	public Vote getVote() {
		return this.vote;
	}

	public void setVote(Vote vote) {
		this.vote = vote;
	}

	public String getVoteinfoName() {
		return this.voteinfoName;
	}

	public void setVoteinfoName(String voteinfoName) {
		this.voteinfoName = voteinfoName;
	}

	public Integer getVoteinfoClickNum() {
		return this.voteinfoClickNum;
	}

	public void setVoteinfoClickNum(Integer voteinfoClickNum) {
		this.voteinfoClickNum = voteinfoClickNum;
	}

	public Set getVoteinfoIps() {
		return voteinfoIps;
	}

	public void setVoteinfoIps(Set voteinfoIps) {
		this.voteinfoIps = voteinfoIps;
	}

}